<template>
	<om-page :title="pageTitle">
		<web-view src="/hybrid/html/webview-address.html" message="handlePostAddressMsg"></web-view>
	</om-page>
</template>

<script>
	export default {
		data() {
			return {
				pageTitle:"当前位置",
				placeLng: '',
				placeLat: '',
				placeName: '',
			};
		},
		methods: {
			handlePostAddressMsg: function(data) {
				console.log(data)
				let _that = this
				let addressDesc = data.detail.data[0]
				uni.setStorageSync('visitAddressKey', JSON.stringify(addressDesc))
				uni.reLaunch({
					url: '/pages/form/mar-yxhd-visitSign/visit-sign'
				});
			},
		},
		onLoad(option) {
			
		},
	};
</script>

<style lang="scss" scoped>
	
</style>
                                 